<%--
  Created by IntelliJ IDEA.
  User: wangqian
  Date: 2018/6/3
  Time: 14:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<html>
<head>
    <title>中心机房登记系统</title>
   <%-- <script type="text/javascript">
        function wq(){
           /*var type=$("#see option:selected");*/
          var index=document.getElementById("see").selectedIndex;
          document.getElementById("see").options[index].value;
          var obj=document.getElementById("see");
          for(var i=0;i<obj.length;i++){
              if(obj[i].selected==true){
                  var type=obj[i].options[index].value;alert(type);
                  if(type=='0')
                      window.location.href='student.jsp';
                  else if(type=='1'){
                      window.location.href='register.html';}

                  else (type=='3')
                  window.location.href='manager.jsp';

              }
              }
          }
    </script>--%>

    <style type="text/css">
        body{
            background-image: url("<%=path%>/qian/images/2.jpg");
            background-size: cover;
        }
        .title{
            width: 500px;
            font-size: 29px;
            font-family: 华文隶书;
            color: rgba(255, 0, 0, 0.68);
            float:left;
            position: absolute;
            left: 500px;
            text-align: center;
            marign-left:300px;
        }
        .left{
            float: left;
            width:100% ;
            height: 200px;
            text-align: center;
            margin-top: 230px;
        }

    </style>
</head>
<body>
<div class="picture">
    <header>
        <div class="center">

            <div class="title">
                <h1>中心机房登记系统</h1>
            </div>
        </div>
    </header>
    <div class="left">
        <form  action="/LoginCheck.html" method="post">
            <br>
            身份:<select name="sf" id="see">
            <option  value="teacher">教师</option>
            <option  value="student" >学生</option>
            <option  value="teacherone">外聘教师</option>
            <option  value="administrator">管理员</option>
            <option  value="administratorone">配置管理员</option>
              <%-- <option  value="1" >学生</option>
               <option  value="2">教师</option>
               <option  value="3">外聘教师</option>
               <option  value="4">管理员</option>
               <option  value="5">配置管理员</option>--%>
            </select><br><br>
            用户:<input name="user_name" type="text"> <br><br>
            密码:<input name="password" type="password"><br><br>
            <input type="submit" value="登录">
            <%--<input type="button" value="注册" onclick="wq()">--%>
            <input type="button"  value="注册" onclick="window.location.href='register.html';" >

        </form>
    </div>
</div>


</body>
</html>